<template>
	<view class="user-grade">
		<view class="user-grade_icon">
			<image class="image"
				src="">
			</image>
		</view>
		<view class="user-grade_name">
			<text>{{ name }}</text>
		</view>
	</view>
</template>

<script>
	export default {
		props: {
			level: { //后期拓展
				type: [Number, String],
				required: false,
				default: 1,
			},
			icon: { //后期拓展
				type: String,
				default: '',
			},
			name: {
				type: String,
				default: '一星会员',
			}
		},
		data() {
			return {}
		},
		methods: {},
		mounted() {

		},
		created() {

		},
	}
</script>

<style lang="less" scoped>
	.user-grade {
		align-self: baseline;
		display: flex;
		align-items: center;
		background: #3c3c3c;
		//margin-top: 12rpx;
		border-radius: 10rpx;
		padding: 4rpx 12rpx;
		line-height: 32rpx;

		.user-grade_icon .image {
			display: block;
			width: 32rpx;
			height: 32rpx;
		}

		.user-grade_name {
			margin-left: 5rpx;
			font-size: 26rpx;
			color: #EEE0C3;
		}

	}
</style>